//
//  GlobalSet.h
//  Dolphin
//
//  Created by Handymood on 11-5-26.
//  Copyright 2011 __Hanydmood__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface GlobalSet : NSObject 
{
    NSString *align;
    NSString *albumListPath;
    int page_width;
    int page_height;
    int page_width_iphone;
    int page_height_iphone;
    int page_num;
    int active_page_num;
    
    BOOL fullscreen_mode;
    BOOL fit_with_screen;
    BOOL status_bar_hidden;
    BOOL allowrotate;
    BOOL show_toolbar_at_init;
    BOOL fit_page_size;
    
    BOOL landscape_two_page;
    
    NSString *bg_img;
    NSString *bg_img_iphone;
    NSString *bg_snd_link;
    NSString *bg_color;
    
    BOOL bg_snd_play_at_init;
    BOOL auto_play_on;
    BOOL auto_play_at_init;
    float auto_play_time_tick;
    
    int single_page_zoom_min;
    int single_page_zoom_max;
    
    NSString *featureImg;
    NSString *featureUrl;
}

@property(nonatomic,copy) NSString *align;
@property(nonatomic,copy) NSString *albumListPath;
@property(nonatomic,copy) NSString *featureImg;
@property(nonatomic,copy) NSString *featureUrl;

@property int page_width;
@property int page_height;
@property int page_width_iphone;
@property int page_height_iphone;

@property int page_num;
@property int active_page_num;
@property BOOL fullscreen_mode;
@property BOOL fit_with_screen;
@property BOOL status_bar_hidden;
@property BOOL allowrotate;
@property BOOL show_toolbar_at_init;
@property BOOL fit_page_size;

@property BOOL landscape_two_page;

@property(nonatomic,copy) NSString *bg_img;
@property(nonatomic,copy) NSString *bg_img_iphone;
@property(nonatomic,copy) NSString *bg_snd_link;
@property(nonatomic,copy) NSString *bg_color;

@property BOOL bg_snd_play_at_init;
@property BOOL auto_play_on;
@property BOOL auto_play_at_init;
@property float auto_play_time_tick;

@property int single_page_zoom_min;
@property int single_page_zoom_max;

-(void) initDefaultSet;
-(void) toString;
-(void) reset;

@end
